package com.bonc.ioc.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ZhangXu
 * @date 2021/4/17 10:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class HotwordInfo implements Serializable {
    private static final long serialVersionUID = 9014463775666874709L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 热点词
     */
    private String hotword;
    /**
     * 使用计数
     */
    private Integer countUsage;
    /**
     * 检索计数
     */
    private Integer countSearch;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
